package com.beiing.tianshuai.tianshuai.entity;

import com.google.gson.annotations.SerializedName;

/**
 * Created by Jinni on 2017/9/28 0028.
 */

public class VersionInfoBean {

    /**
     * code : 400
     * data : {"number":{"id":"1","versioncode":"1","versionname":"1","apk":"59bb742868906.apk","create_time":null}}
     */

    @SerializedName("code")
    private int code;
    @SerializedName("data")
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * number : {"id":"1","versioncode":"1","versionname":"1","apk":"59bb742868906.apk","create_time":null}
         */

        @SerializedName("number")
        private NumberBean number;

        public NumberBean getNumber() {
            return number;
        }

        public void setNumber(NumberBean number) {
            this.number = number;
        }

        public static class NumberBean {
            /**
             * id : 1
             * versioncode : 1
             * versionname : 1
             * apk : 59bb742868906.apk
             * create_time : null
             */

            @SerializedName("id")
            private String id;
            @SerializedName("versioncode")
            private String versioncode;
            @SerializedName("versionname")
            private String versionname;
            @SerializedName("apk")
            private String apk;
            @SerializedName("description")
            private String description;
            @SerializedName("create_time")
            private String createTime;

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getVersioncode() {
                return versioncode;
            }

            public void setVersioncode(String versioncode) {
                this.versioncode = versioncode;
            }

            public String getVersionname() {
                return versionname;
            }

            public void setVersionname(String versionname) {
                this.versionname = versionname;
            }

            public String getApk() {
                return apk;
            }

            public void setApk(String apk) {
                this.apk = apk;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            @Override
            public String toString() {
                return "NumberBean{" +
                        "id='" + id + '\'' +
                        ", versioncode='" + versioncode + '\'' +
                        ", versionname='" + versionname + '\'' +
                        ", apk='" + apk + '\'' +
                        ", createTime='" + createTime + '\'' +
                        '}';
            }
        }
    }
}
